'Declaration
<ExtensionAttribute()> Public Overloads Shared Function CopyToWritableDirectoryContents( _ ByVal directoryContents2 As IDirectoryContents2, _ ByVal destinationWritableDirectoryContents As IWritableDirectoryContents, _ ByVal recursive As Boolean, _ ByVal copyBufferSize As Integer, _ ByVal stringArrayProgress As IProgress(Of String()) _ ) As ValueTuple(Of Long,Long,Long)
'Usage
Dim directoryContents2 As IDirectoryContents2 Dim destinationWritableDirectoryContents As IWritableDirectoryContents Dim recursive As Boolean Dim copyBufferSize As Integer Dim stringArrayProgress As IProgress(Of String()) Dim value As ValueTuple(Of Long,Long,Long) value = IDirectoryContents2Extension.CopyToWritableDirectoryContents(directoryContents2, destinationWritableDirectoryContents, recursive, copyBufferSize, stringArrayProgress)
[Extension()] public static ValueTuple<long,long,long> CopyToWritableDirectoryContents( IDirectoryContents2 directoryContents2, IWritableDirectoryContents destinationWritableDirectoryContents, bool recursive, int copyBufferSize, IProgress<string[]> stringArrayProgress )
[Extension()] public: static ValueTuple<int64,int64,int64> CopyToWritableDirectoryContents( IDirectoryContents2^ directoryContents2, IWritableDirectoryContents^ destinationWritableDirectoryContents, bool recursive, int copyBufferSize, IProgress<array<String^>>^ stringArrayProgress )
Parameters
- directoryContents2
- The directory contents object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - destinationWritableDirectoryContents
- The writable directory contents into which the directory will be copied.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - recursive
- Determines whether operation will also be performed on subdirectories, recursively.
- copyBufferSize
- The size of the copy buffer. This value must be greater than zero. The default size is 81920.
Valid values of this parameter are in the range from
1
to2147483647 (Int32.MaxValue)
. - stringArrayProgress
- A provider for progress updates (string arrays).
The value of this parameter can be
null
(Nothing
in Visual Basic).